package com.wangsh.splider.orders.pojo;

/**
 * 管理员的枚举
 * 
 * @author wangsh
 *
 */
public enum AOrdersUsersEnum
{
	/* 状态:0:已访问,1:已登陆;2:无效 */
	STATUS_VISTED(Byte.valueOf("0"), "已访问"), 
	STATUS_LOGIN(Byte.valueOf("1"), "已登陆"),
	STATUS_VERIFY(Byte.valueOf("2"), "已验证"),
	STATUS_INVALID(Byte.valueOf("3"), "无效"),
	
	/* 来源类型:0:登陆,1:购买;2:email */
	SOUTYPE_LOGIN(Byte.valueOf("0"), "登陆"), 
	SOUTYPE_BUY(Byte.valueOf("1"), "购买"),
	SOUTYPE_EMAIL(Byte.valueOf("2"), "email"),
	;

	private byte status;
	private String name;

	private AOrdersUsersEnum(byte status, String name)
	{
		this.status = status;
		this.name = name;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}
}